package org.kongqian.user.mapper;

import org.kongqian.user.domain.Logininfo;
import org.kongqian.basic.mapper.BaseMapper;
import org.kongqian.user.dto.LoginAccountDTO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kq
 * @since 2022-11-15
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo selectByMobile(String mobile);

    Logininfo selectByUsername(String userName);

    Logininfo selectLoginByUsername(LoginAccountDTO dto);

    Logininfo selectLoginInfoByUserId(Long userId);

}
